﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DunLibrary.Client;
using DunLibrary.CreditCard;
using DunLibrary.Base;
using DunLibrary.Organization;
using DunLibrary.User;

namespace DunLibrary.Dun
{
    /// <summary>
    /// 欠费记录
    /// </summary>
    public interface IArrearRecord
    {
        /// <summary>
        /// 主键
        /// </summary>
        int Id { get; set; }
        /// <summary>
        /// 关联的Case
        /// </summary>
        Case Case { get; set; }
        /// <summary>
        /// 年
        /// </summary>
        int Year { get; set; }
        /// <summary>
        /// 期间
        /// </summary>
        int Period { get; set; }

        int YearPeriod { get; set; }
        /// <summary>
        /// 银行
        /// </summary>
        Company Bank { get; set; }
        /// <summary>
        /// 分行名称
        /// </summary>
        string BranchName { get; set; }
        /// <summary>
        /// 分行代码
        /// </summary>
        string SubBranchName { get; set; }
        /// <summary>
        /// 信用卡
        /// </summary>
        DunLibrary.CreditCard.CreditCard Card { get; set; }
        /// <summary>
        /// 货币
        /// </summary>
        string Currency { get; set; }
        /// <summary>
        /// 汇率
        /// </summary>
        double Exchange { get; set; }
        /// <summary>
        /// 受信额度
        /// </summary>
        double Quota { get; set; }
        /// <summary>
        /// 本金
        /// </summary>
        double Capital { get; set; }
        /// <summary>
        /// 利息
        /// </summary>
        double Interest { get; set; }
        /// <summary>
        /// 欠费
        /// </summary>
        double LateFee { get; set; }
        /// <summary>
        /// 超限费(我也不知道这是什么，再调研)
        /// </summary>
        double AboveQuota { get; set; }
        /// <summary>
        /// 服务费
        /// </summary>
        double ServiceCharge { get; set; }
        /// <summary>
        /// 欠费金额
        /// </summary>
        double Amount { get; set; }
        /// <summary>
        /// 延交级别
        /// </summary>
        string CardDelayLevel { get; set; }
        /// <summary>
        /// 个人
        /// </summary>
        string HolderDelayLevel { get; set; }
        /// <summary>
        /// 地区
        /// </summary>
        string District { get; set; }
        /// <summary>
        /// 所属分公司
        /// </summary>
        DunLibrary.Organization.Organization Organization { get; set; }
        /// <summary>
        /// 累计还款金额（截至到当期）
        /// </summary>
        double TotalReturnAmount { get; set; }
    }
}
